﻿<UserControl x:Class="PresentationAid.Tabs.PresentationTab"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid Margin="50">
        <Grid.RowDefinitions>
            <RowDefinition Height="50" />
            <RowDefinition Height="50" />
            <RowDefinition Height="50" />
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
            
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>

        <!-- First row -->
        <Border BorderBrush="{DynamicResource MiddleLightBrush}" HorizontalAlignment="Center" VerticalAlignment="Center" BorderThickness="2" Width="40" Height="40" CornerRadius="20">
            <TextBlock FontSize="22" FontWeight="SemiBold" TextAlignment="Center" VerticalAlignment="Center" Foreground="{DynamicResource MiddleLightBrush}">1</TextBlock>
        </Border>

        <TextBlock Name="StepOneText" Margin="10,0,15,5" Grid.Column="1" FontSize="20" VerticalAlignment="Center" Foreground="{DynamicResource MiddleLightBrush}" >Connect and configure Microsoft Kinect™ sensor.</TextBlock>

        <Image Name="StepOneIcon" Grid.Column="2" Source="/PresentationAid;component/Resources/Images/Icons/error_32.png" Width="32" />

        <!-- Second row -->
        <Border Grid.Row="1" BorderBrush="{DynamicResource MiddleLightBrush}" HorizontalAlignment="Center" VerticalAlignment="Center" BorderThickness="2" Width="40" Height="40" CornerRadius="20">
            <TextBlock FontSize="22" FontWeight="SemiBold" TextAlignment="Center" VerticalAlignment="Center" Foreground="{DynamicResource MiddleLightBrush}">2</TextBlock>
        </Border>

        <TextBlock Name="StepTwoText" Grid.Row="1" Margin="10,0,15,5" Grid.Column="1" FontSize="20" VerticalAlignment="Center" Foreground="{DynamicResource MiddleLightBrush}">Make sure Kinect™ sensor can see a presenter.</TextBlock>

        <Image Name="StepTwoIcon" Grid.Row="1" Grid.Column="2" Source="/PresentationAid;component/Resources/Images/Icons/error_32.png" Width="32" />

        <!-- Third row -->
        <Border Grid.Row="2" BorderBrush="{DynamicResource MiddleLightBrush}" HorizontalAlignment="Center" VerticalAlignment="Center" BorderThickness="2" Width="40" Height="40" CornerRadius="20">
            <TextBlock FontSize="22" FontWeight="SemiBold" TextAlignment="Center" VerticalAlignment="Center" Foreground="{DynamicResource MiddleLightBrush}">3</TextBlock>
        </Border>

        <TextBlock Name="StepThreeText" Grid.Row="2" Margin="10,0,15,5" Grid.Column="1" FontSize="20" VerticalAlignment="Center" Foreground="{DynamicResource MiddleLightBrush}">Microsoft PowerPoint™ needs to be launched.</TextBlock>

        <Image Name="StepThreeIcon" Grid.Row="2" Grid.Column="2" Source="/PresentationAid;component/Resources/Images/Icons/error_32.png" Width="32" />

        <TextBlock Name="MainTitle" Grid.Row="3" Grid.ColumnSpan="4" Margin="10,20,10,20" FontWeight="Light" FontSize="40" TextAlignment="Center" VerticalAlignment="Center" Foreground="{DynamicResource LowlightBrush}" TextWrapping="Wrap">
            Sorry, you cannot present without Microsoft Kinect™ sensor.
        </TextBlock>

        <StackPanel Grid.Row="4" Grid.ColumnSpan="4" HorizontalAlignment="Right" VerticalAlignment="Bottom">
            <TextBlock Name="HelpText" Margin="0,0,0,10" FontSize="20" Foreground="{DynamicResource MiddleLightBrush}">Where to get it?</TextBlock>

            <Button Name="HelpButton" FontWeight="Bold" HorizontalAlignment="Right" Padding="15,6,15,6" Click="HelpButtonClick">MICROSOFT STORE</Button>
        </StackPanel>
    </Grid>
</UserControl>
